<?php

use \App\HttpController\Router;

//前台
Router::group(['prefix'=>'wechat','namespace'=>'Wechat'],function (){

    //微信token接口
    Router::any('/', 'ServerController');

    //登录
    Router::get('/login', 'LoginController/login');

    //配置
    Router::get('/config', 'LoginController/config');
    Router::post('/ticket', 'LoginController/ticket');

    //普通用户订单列表
    Router::get('/order', 'IndexController/order');
    Router::get('/order/info', 'IndexController/info');
    Router::post('/order/update', 'IndexController/orderUpdate');
    Router::post('/order/finish', 'IndexController/finish');
    Router::post('/order/comment', 'IndexController/comment');
    Router::post('/order/UploadMimg', 'IndexController/UploadMimg');
    Router::post('/order/repair/update', 'IndexController/repairPost');
    Router::get('/user', 'IndexController/user');
    Router::post('/upload', 'IndexController/upload');

    //维修用户订单列表
    Router::get('/repair', 'IndexController/repair');




});
